package com.tistory.common.service;

import java.sql.SQLException;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.tistory.common.dao.CommonDao;
import com.tistory.common.vo.CommonCodeRes;

@Service("CommonServiceImpl")
public class CommonServiceImpl implements CommonService {
	
	@Autowired
	CommonDao commonDao;


	/**
	 * @param commonDao the commonDao to set
	 */
	public void setCommonDao(CommonDao commonDao) {
		this.commonDao = commonDao;
	}




	@Override
	public List<CommonCodeRes> getCommonCodeList(String grpCdId) throws SQLException {
		List<CommonCodeRes> memberList = commonDao.getCommonCodeList(grpCdId);
		return memberList;
	}



}
